package strategyPattern;

public class Context {

    private IFightingStrategy strategy;

    public Context(IFightingStrategy strategy) {
        this.strategy = strategy;
    }

    public void fighting(){
        this.strategy.fighting();
    }
}
